Update Audit Log
PATCH /api/v1/audit-logs/{requestReference}
Description
Update an audit log entry.
Path Parameters
| Name | Type | Description |
|---|---|---|
requestReference | string | The reference ID of the audit log entry (path) |
Request Headers
| Name | Type | Description |
|---|---|---|
service-api-key | string | The service API key (header) |
service-api-code | string | The service API code (header) |
Request Body
- Content Type:
application/json
{
"requestMethod": "string",
"requestActionBy": "string",
"requestModelType": "string",
"requestProductType": "string",
"requestId": "string",
"requestReference": "string",
"previousData": {},
"currentData": {}
}
Response Code: 200 - OK
Headers
| Content-Type | Value |
|---|---|
| service-api-key | {{serviceApiKey}} |
| service-api-code | {{serviceApiCode}} |
Body
{
"requestMethod": "POST",
"requestActionBy": "Admin",
"requestModelType": "User",
"requestProductType": "Service",
"requestId": "req123",
"requestReference": "ref456",
"previousData": {},
"currentData": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com"
}
}
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/audit-logs/{requestReference} \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!